/**************************************************
 * Generated include file for i
 *               DO NOT MODIFY
 */

#ifndef DEVICE_TREE_BOARD_H
#define DEVICE_TREE_BOARD_H

/* flash@1000 */
#define CONFIG_FLASH_BASE_ADDRESS	0x1000
#define CONFIG_FLASH_LOAD_OFFSET	0
#define CONFIG_FLASH_LOAD_SIZE		0
#define CONFIG_FLASH_SIZE		4092

/* ioapic@fec00000 */
#define DT_INTEL_IOAPIC_FEC00000_BASE_ADDRESS	0xfec00000
#define DT_INTEL_IOAPIC_FEC00000_SIZE		1048576

/* memory@400000 */
#define CONFIG_SRAM_BASE_ADDRESS		0x400000
#define CONFIG_SRAM_SIZE			8188
#define DT_MMIO_SRAM_400000_BASE_ADDRESS	0x400000
#define DT_MMIO_SRAM_400000_SIZE		8384512

/* eth@febc0000 */
#define DT_INTEL_E1000_FEBC0000_BASE_ADDRESS		0xfebc0000
#define DT_INTEL_E1000_FEBC0000_IRQ_0			11
#define DT_INTEL_E1000_FEBC0000_IRQ_0_PRIORITY		3
#define DT_INTEL_E1000_FEBC0000_IRQ_0_SENSE		0
#define DT_INTEL_E1000_FEBC0000_SIZE			256

/* uart@2f8 */
#define CONFIG_BT_MONITOR_ON_DEV_NAME		"UART_1"
#define CONFIG_BT_UART_ON_DEV_NAME		"UART_1"
#define CONFIG_UART_PIPE_ON_DEV_NAME		"UART_1"
#define DT_NS16550_2F8_BASE_ADDRESS		0x2f8
#define DT_NS16550_2F8_CLOCK_FREQUENCY		1843200
#define DT_NS16550_2F8_CURRENT_SPEED		115200
#define DT_NS16550_2F8_IRQ_0			3
#define DT_NS16550_2F8_IRQ_0_PRIORITY		3
#define DT_NS16550_2F8_IRQ_0_SENSE		0
#define DT_NS16550_2F8_LABEL			"UART_1"
#define DT_NS16550_2F8_SIZE			256
#define DT_NS16550_UART_1_BASE_ADDRESS		DT_NS16550_2F8_BASE_ADDRESS
#define DT_NS16550_UART_1_CLOCK_FREQUENCY	DT_NS16550_2F8_CLOCK_FREQUENCY
#define DT_NS16550_UART_1_CURRENT_SPEED		DT_NS16550_2F8_CURRENT_SPEED
#define DT_NS16550_UART_1_IRQ			DT_NS16550_2F8_IRQ_0
#define DT_NS16550_UART_1_IRQ_PRIORITY		DT_NS16550_2F8_IRQ_0_PRIORITY
#define DT_NS16550_UART_1_IRQ_SENSE		DT_NS16550_2F8_IRQ_0_SENSE
#define DT_NS16550_UART_1_LABEL			DT_NS16550_2F8_LABEL
#define DT_NS16550_UART_1_SIZE			DT_NS16550_2F8_SIZE
#define UART_1_BASE_ADDRESS			DT_NS16550_2F8_BASE_ADDRESS
#define UART_1_CLOCK_FREQUENCY			DT_NS16550_2F8_CLOCK_FREQUENCY
#define UART_1_CURRENT_SPEED			DT_NS16550_2F8_CURRENT_SPEED
#define UART_1_IRQ				DT_NS16550_2F8_IRQ_0
#define UART_1_IRQ_PRIORITY			DT_NS16550_2F8_IRQ_0_PRIORITY
#define UART_1_IRQ_SENSE			DT_NS16550_2F8_IRQ_0_SENSE
#define UART_1_LABEL				DT_NS16550_2F8_LABEL
#define UART_1_SIZE				DT_NS16550_2F8_SIZE

/* uart@3f8 */
#define CONFIG_UART_CONSOLE_ON_DEV_NAME		"UART_0"
#define CONFIG_UART_SHELL_ON_DEV_NAME		"UART_0"
#define DT_NS16550_3F8_BASE_ADDRESS		0x3f8
#define DT_NS16550_3F8_CLOCK_FREQUENCY		1843200
#define DT_NS16550_3F8_CURRENT_SPEED		115200
#define DT_NS16550_3F8_IRQ_0			4
#define DT_NS16550_3F8_IRQ_0_PRIORITY		3
#define DT_NS16550_3F8_IRQ_0_SENSE		0
#define DT_NS16550_3F8_LABEL			"UART_0"
#define DT_NS16550_3F8_SIZE			256
#define DT_NS16550_UART_0_BASE_ADDRESS		DT_NS16550_3F8_BASE_ADDRESS
#define DT_NS16550_UART_0_CLOCK_FREQUENCY	DT_NS16550_3F8_CLOCK_FREQUENCY
#define DT_NS16550_UART_0_CURRENT_SPEED		DT_NS16550_3F8_CURRENT_SPEED
#define DT_NS16550_UART_0_IRQ			DT_NS16550_3F8_IRQ_0
#define DT_NS16550_UART_0_IRQ_PRIORITY		DT_NS16550_3F8_IRQ_0_PRIORITY
#define DT_NS16550_UART_0_IRQ_SENSE		DT_NS16550_3F8_IRQ_0_SENSE
#define DT_NS16550_UART_0_LABEL			DT_NS16550_3F8_LABEL
#define DT_NS16550_UART_0_SIZE			DT_NS16550_3F8_SIZE
#define UART_0_BASE_ADDRESS			DT_NS16550_3F8_BASE_ADDRESS
#define UART_0_CLOCK_FREQUENCY			DT_NS16550_3F8_CLOCK_FREQUENCY
#define UART_0_CURRENT_SPEED			DT_NS16550_3F8_CURRENT_SPEED
#define UART_0_IRQ				DT_NS16550_3F8_IRQ_0
#define UART_0_IRQ_PRIORITY			DT_NS16550_3F8_IRQ_0_PRIORITY
#define UART_0_IRQ_SENSE			DT_NS16550_3F8_IRQ_0_SENSE
#define UART_0_LABEL				DT_NS16550_3F8_LABEL
#define UART_0_SIZE				DT_NS16550_3F8_SIZE

/* chosen */
#define DT_CHOSEN_ZEPHYR_BT_MON_UART	1
#define DT_CHOSEN_ZEPHYR_BT_UART	1
#define DT_CHOSEN_ZEPHYR_CONSOLE	1
#define DT_CHOSEN_ZEPHYR_FLASH		1
#define DT_CHOSEN_ZEPHYR_SHELL_UART	1
#define DT_CHOSEN_ZEPHYR_SRAM		1
#define DT_CHOSEN_ZEPHYR_UART_PIPE	1

/* compatibles */
#define DT_COMPAT_INTEL_IOAPIC		1
#define DT_COMPAT_MMIO_SRAM		1
#define DT_COMPAT_NS16550		1
#define DT_COMPAT_SOC_NV_FLASH		1


/* Following definitions fixup the generated include */
/* Board level DTS fixup file */

#define DT_ETH_E1000_BASE_ADDRESS	DT_INTEL_E1000_FEBC0000_BASE_ADDRESS
#define DT_ETH_E1000_IRQ		DT_INTEL_E1000_FEBC0000_IRQ_0
#define DT_ETH_E1000_IRQ_PRIORITY	DT_INTEL_E1000_FEBC0000_IRQ_0_PRIORITY
#define DT_ETH_E1000_IRQ_FLAGS	DT_INTEL_E1000_FEBC0000_IRQ_0_SENSE

/* End of Board Level DTS fixup file */


/* Following definitions fixup the generated include */
/* SoC level DTS fixup file */

#define DT_UART_NS16550_PORT_0_BASE_ADDR	DT_NS16550_3F8_BASE_ADDRESS
#define CONFIG_UART_NS16550_PORT_0_BAUD_RATE	DT_NS16550_3F8_CURRENT_SPEED
#define CONFIG_UART_NS16550_PORT_0_NAME		DT_NS16550_3F8_LABEL
#define DT_UART_NS16550_PORT_0_IRQ		DT_NS16550_3F8_IRQ_0
#define CONFIG_UART_NS16550_PORT_0_IRQ_PRI	DT_NS16550_3F8_IRQ_0_PRIORITY
#define DT_UART_NS16550_PORT_0_IRQ_FLAGS	DT_NS16550_3F8_IRQ_0_SENSE
#define DT_UART_NS16550_PORT_0_CLK_FREQ	DT_NS16550_3F8_CLOCK_FREQUENCY

#define DT_UART_NS16550_PORT_1_BASE_ADDR	DT_NS16550_2F8_BASE_ADDRESS
#define CONFIG_UART_NS16550_PORT_1_BAUD_RATE	DT_NS16550_2F8_CURRENT_SPEED
#define CONFIG_UART_NS16550_PORT_1_NAME		DT_NS16550_2F8_LABEL
#define DT_UART_NS16550_PORT_1_IRQ		DT_NS16550_2F8_IRQ_0
#define CONFIG_UART_NS16550_PORT_1_IRQ_PRI	DT_NS16550_2F8_IRQ_0_PRIORITY
#define DT_UART_NS16550_PORT_1_IRQ_FLAGS	DT_NS16550_2F8_IRQ_0_SENSE
#define DT_UART_NS16550_PORT_1_CLK_FREQ	DT_NS16550_2F8_CLOCK_FREQUENCY

#define DT_PHYS_RAM_ADDR			CONFIG_SRAM_BASE_ADDRESS

#define DT_PHYS_LOAD_ADDR			CONFIG_FLASH_BASE_ADDRESS

#define DT_RAM_SIZE				CONFIG_SRAM_SIZE

#define DT_ROM_SIZE				CONFIG_FLASH_SIZE


#define DT_IOAPIC_BASE_ADDRESS		DT_INTEL_IOAPIC_FEC00000_BASE_ADDRESS

/* End of SoC Level DTS fixup file */

#endif
